# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=py3-bracex
_pkgname=bracex
pkgver=2.2.1
pkgrel=2
pkgdesc="brace expanding library (à la Bash) for Python"
url="https://facelessuser.github.io/bracex/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	pytest -v
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
83d1a07ad949701680eed9b4300626c4ba834b7d2aea48578fe77fa6785d13322ed6342803d068101d54e47d63dc160cb2798bc06cff037345398ee366eaa7a2  bracex-2.2.1.tar.gz
"
